package com.hzw.saas.api.storage.bo;

import java.util.ArrayList;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 目录结构
 *
 * @author zzl
 * @since 02/19/2021
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel("资源目录结构")
public class ResourceFolderStructBO extends ResourceFolderBO {

    private static final long serialVersionUID = 1L;

    /**
     * 子目录列表
     */
    @ApiModelProperty(value = "子目录列表", position = 12)
    private List<ResourceFolderStructBO> subFolders = new ArrayList<>();

    /**
     * 子文件列表
     */
    @ApiModelProperty(value = "子文件列表", position = 13)
    private List<ResourceFileBO> subFiles = new ArrayList<>();

}
